700867d76bd123f61167f8a341cfbc1642de0b31,plugins/git4idea/src/git4idea/jgit/GitHttpAdapter.java,GitHttpAdapter,callWithAuthRetry,#GitHttpRemoteCommand#Project#,308

Before Change


              return GeneralResult.CANCELLED;
            }
            // otherwise give more tries to enter password
            command.cleanup();
          }
          else if (!httpTransportErrorFixTried && isTransportExceptionForHttp(e, url)) {
            url = url.replaceFirst("http", "https");

After Change


            //noinspection AssignmentToForLoopParameter
            i--;
          }
          command.cleanup();
        }
        catch (JGitInternalException e) {
          try {